home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 February
/
PCWorld_2006-02_cd.bin
/
software
/
vyzkuste
/
tnt
/
tnt.exe
/
{app}
/
plugins
/
Outlook Express 1.ttp
< prev
next >
Wrap
INI File
|
2005-03-15
|
2KB
|
87 lines
[SETTINGS]
Category=Software Tweaks::Outlook Express::Options
Caption=Outlook Express Options
version=1.0
#=Change a few settings of Outlook Express.
Author=
[INTERFACE]
type=multi
TYPE0=check
Text0=Show splash screen (welcome screen) when launched
TYPE3=edit
Text3=Window Title
TYPE4=Edit
Text4=Change welcome page:
style4=1
FileFilter4=HTML Documents (*.htm;*.html)|*.htm;*.html|All Files (*.*)|*.*||
[EXPORT]
[SCRIPT]
Dim svalpath,strPath1,strPath2,sNoSplash, sTitle, sval
sValPath=""
strPath1="HKCU\Software\Microsoft\Outlook Express\"
strPath2="HKCU\Identities\Last User ID"
sNoSplash="NoSplash"
'strPath3="HKCU\Software\Microsoft\Internet Mail and News\"
sTitle="WindowTitle"
sVal="FrontPagePath"
Sub OnInit()
'check if we are have IE5
Dim s
s=RegReadValue(strPath2)
if IsEmpty(s)=false then
sValPath="HKCU\Identities\" & s & "\Software\Microsoft\Outlook Express\5.0\"
If RegKeyExists(sValPath) = false then 'not IE5
sValPath=strPath1
end if
else
sValPath=strPath1
end If
Dim i
i=RegReadValue(sValPath & sNoSplash)
if i=0 or IsEmpty(i) then
Call CheckItem(0,True)
end if
s=RegReadValue(sValPath & sTitle)
SetItemText 3,s
i=RegReadValue(sValPath & sVal)
Call SetItemText(4,i)
End Sub
Sub OnApply(x,y)
Dim i,s
i=IsItemChecked(0)
if i=true then
Call RegWriteValue(sValPath & sNoSplash,0,2)
else
Call RegWriteValue(sValPath & sNoSplash,1,2)
end if
s=GetItemText(3)
if len(s)=0 then
s=RegReadValue(sValPath & sTitle)
if IsEmpty(s)=false then Call RegDeleteVal(sValPath & sTitle)
else
Call RegWriteValue(sValPath& sTitle,s,1)
end if
s=GetItemText(4)
if len(s)=0 then
if RegValueExists(sValPath & sVal)=true then
Call RegDeleteVal(sValPath & sVal)
end if
else
Call RegWriteValue(sValPath & sVal,s,1)
end if
end Sub